package com.pattern;

import org.junit.Test;

import com.pattern.builder.Context;
import com.pattern.builder.OuterBuilder;

public class BuilderTest {
	@Test
	public void testInnerBuilder() {
		Context c = Context.newInstance(new Context.InnerBuilder(12, 2).setF3(
				3).setF4(4));
		System.out.println(c);
	}

	@Test
	public void testOuterBuilder() {
		Context c = Context.newInstance(new OuterBuilder(12, 2).setF3(3)
				.setF6(4));
		System.out.println(c);
	}
}
